package net.sky.oa.test.action.ioffice;

import javax.annotation.Resource;

import net.sky.oa.action.ioffice.OffSummaryAction;
import net.sky.oa.test.BaseActionTestCase;

import org.junit.Before;
import org.junit.Test;
import org.springframework.test.annotation.Rollback;

public class OffSummaryActionTestCase extends BaseActionTestCase {
	
	@Resource
	private OffSummaryAction offSummaryAction;
	
	@Before
	public void setUp() {
		super.setUp();
	}
	@Test
	@Rollback(false)
	public void add()
	{
		request.addParameter("content", "I believe!");
		offSummaryAction.save();
	}
	
	@Test
	@Rollback(false)
	public void list()
	{
		String flag=offSummaryAction.list();
		System.out.println(flag);
	}
	
	
	

}
